import { Express } from "express";
import taskSocket from "./router/task/controller/carIllegal";
import userRouter from "./router/user/controller";

enum routerUrl {
  taskSocket = "/task",
  user = "/user",
}

export function useRouter(app: Express) {
  app.use(routerUrl.taskSocket, taskSocket);
  app.use(routerUrl.user, userRouter);
}
